// $Id: etpro_menu_hud2.menu,v 1.1.2.3 2004/10/10 13:13:53 fretn Exp $

#include "ui/menudef.h"

// Defines //

#define WINDOW_X		16
#define WINDOW_Y		16
#define WINDOW_WIDTH	400
#define WINDOW_HEIGHT	410
#define GROUP_NAME		"grpetpromenuhud2"

// Macros //

#include "ui/menumacros.h"

////////////////////////////////////////////ETPRO HUD 2/////////////////////////////////////////

menuDef {
	name		"etpro_menu_hud2"
	visible		0
	fullscreen	0
	rect		WINDOW_X WINDOW_Y WINDOW_WIDTH WINDOW_HEIGHT
	style		WINDOW_STYLE_FILLED

	onESC {
		close etpro_menu_hud2 ;
		open etpro_menu_main
	}

#define SUBWINDOW_WIDTH		WINDOW_WIDTH-12

// Window //

	WINDOW( "HUD", 94 )

// offset //

	SUBWINDOW( 6, 32, (SUBWINDOW_WIDTH), 40, "POSITIONS" )
	CVARFLOATLABEL( 8, 48, (SUBWINDOW_WIDTH)-4, 10, "b_hudYoffset", .2, ITEM_ALIGN_RIGHT, $evalfloat((SUBWINDOW_WIDTH)-4), 8 )
	SLIDER( 8, 48, (SUBWINDOW_WIDTH)-4, 10, "Hud Y Offset:", .2, 8, "b_hudYoffset" 10 0 20, "Moves the hud along the Y axis, so that it can be moved above the demo status line" )
	CVARFLOATLABEL( 8, 60, (SUBWINDOW_WIDTH)-4, 10, "b_demorecord_statusline", .2, ITEM_ALIGN_RIGHT, $evalfloat((SUBWINDOW_WIDTH)-4), 8 )
	SLIDER( 8, 60, (SUBWINDOW_WIDTH)-4, 10, "Demo Status Y Offset:", .2, 8, "b_demorecord_statusline" 470 0 470, "Moves the demo recording status line along the Y axis" )

// movement //

	SUBWINDOW( 6, 76, (SUBWINDOW_WIDTH), 52, "MOVEMENT" )
	MULTI( 8, 92, (SUBWINDOW_WIDTH)-4, 10, "Draw Movement Speed:", .2, 8, "b_drawspeed", cvarFloatList { "No" 0 "UPS Counter" 1 "UPS + Max" 2 "Speedometer" 3 "UPS + Speedometer" 5 "UPS + Max + Speedometer" 4}, "Shows your movement speed on the hud (The lagometer must be off for the speed graph)" )
	MULTI( 8, 104, (SUBWINDOW_WIDTH)-4, 10, "Speed Units:", .2, 8, "b_speedunit", cvarFloatList { "UPS" 0 "mi/hr" 1 "km/hr" 2 }, "Controlls the type of units to display in the movement speed counter" )
	CVARFLOATLABEL( 8, 116, (SUBWINDOW_WIDTH)-4, 10, "b_speedinterval", .2, ITEM_ALIGN_RIGHT, $evalfloat((SUBWINDOW_WIDTH)-4), 8 )
	SLIDER( 8, 116, (SUBWINDOW_WIDTH)-4, 10, "Speedometer Refresh Rate:", .2, 8, "b_speedinterval" 100 0 200, "Defines the time in milliseconds that the ups meter takes to refresh" )

// Buttons //

	BUTTON( 6, WINDOW_HEIGHT-44, WINDOW_WIDTH-12, 18, "^n<<^* PREV", .3, 14, close etpro_menu_hud2 ; open etpro_menu_hud )
	BUTTON( 6, WINDOW_HEIGHT-24, WINDOW_WIDTH-12, 18, "BACK", .3, 14, close etpro_menu_hud2 ; open etpro_menu_main )
}

